package com.flame.file.mapper;

import java.util.List;

import com.flame.file.controller.vo.StaticFileInfoVo;
import com.flame.file.entity.StaticFileInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * flame_sys_static_file_info 系统静态资源表
 *
 * @author 吴欣童
 * @since 2023-03-16 11:00:18
 */
@Mapper
public interface StaticFileInfoMapper {

    List<StaticFileInfo> page(StaticFileInfoVo staticFileInfoVo);

    void insert(StaticFileInfo staticFileInfo);

    void updateById(StaticFileInfo staticFileInfo);

    void deleteById(@Param("fileId") Long fileId);

    StaticFileInfo findById(@Param("fileId") Long fileId);
}